package com.fdb.efp.cus.service.dao;

import java.util.List;

import com.fdb.efp.cus.service.domain.GreyBlackList;
import com.fdb.efp.cus.service.vo.GreyBlackListVO;

/**
 * <p>DAO interface:黑灰名单表（反洗钱名单表）<p>
 * @author ligm
 * @date 2019-05-22
 */
public interface GreyBlackListDao {
	
	public int insertGreyBlackList(GreyBlackList greyBlackList);
	
	public int deleteByPk(GreyBlackList greyBlackList);
	
	public int updateByPk(GreyBlackList greyBlackList);
	
	public GreyBlackList queryByPk(GreyBlackList greyBlackList);
	
	public List<GreyBlackList> queryAllOwnerByPage(GreyBlackListVO greyBlackList);
	
	public List<GreyBlackList> queryAllCurrOrgByPage(GreyBlackListVO greyBlackList);
	
	public List<GreyBlackList> queryAllCurrDownOrgByPage(GreyBlackListVO greyBlackList);
	
	/**
	 * 需求编号：【2019D0519】（业务提的需求编号）
	 * 问题编号：【xxxxxxx】（若不是因为修复问题而新增该类，则留空）
	 * 开发人员：qiuyf
	 * 创建日期：2019年5月22日 下午6:10:06
	 * 功能描述：根据证件类型、证件号码统计信息
	 */
	public int countGreyBlkLtByCust(GreyBlackList greyBlackList);


}
